package com.njtoyo.taxi.admin.rest.readfile.customer;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel(value = "查询乘客结果")
public class CustomerQueryResult {
    @ApiModelProperty(value = "上传个数")
    private int uploadCount;

    @ApiModelProperty(value = "成功个数")
    private int successCount;

    @ApiModelProperty(value = "失败个数")
    private int failCount;

    @ApiModelProperty(value = "成功数据")
    private List<Customer> successResult;

    @ApiModelProperty(value = "失败数据")
    private List<CustomerQueryData> failResult;

    @Data
    public static class Customer {
        @ApiModelProperty(value = "ID")
        private Long id;

        @ApiModelProperty(value = "姓名")
        private String name;

        @ApiModelProperty(value = "手机号")
        private String mobileNumber;
    }
}
